package com.yh.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author by 张晨光
 * @date 2023/11/2 16:23
 * to/product-add
 */
@Controller
@RequestMapping("to")
public class PageController {
    @RequestMapping("{page}")
    public String getPage(@PathVariable("page")String page){
        return page;
    }
}
